package com.hxy.hxyhros.mapper;

import com.hxy.hxyhros.entity.RwardsPunishments;
import com.hxy.hxyhros.entity.RwardsPunishmentsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RwardsPunishmentsMapper {
    long countByExample(RwardsPunishmentsExample example);

    int deleteByExample(RwardsPunishmentsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RwardsPunishments row);

    int insertSelective(RwardsPunishments row);

    List<RwardsPunishments> selectByExample(RwardsPunishmentsExample example);

    RwardsPunishments selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") RwardsPunishments row, @Param("example") RwardsPunishmentsExample example);

    int updateByExample(@Param("row") RwardsPunishments row, @Param("example") RwardsPunishmentsExample example);

    int updateByPrimaryKeySelective(RwardsPunishments row);

    int updateByPrimaryKey(RwardsPunishments row);
}